#include<stdio.h>
#include<stdlib.h>

int  operator_(char* a[]){
	switch(*a[2]){
		case 'x' :
			return atoi(a[1]) * atoi(a[3]);
			break;
		case '+':
			return atoi(a[1]) + atoi(a[3]);
			break;
		case '-':
			return atoi(a[1]) - atoi(a[3]);
			break;
		case '/':
			return atoi(a[1]) / atoi(a[3]);
			break;
	}		
			
}

int main(int agrc, char* agrv[])
{
	int res = operator_(agrv);

	printf("%d\n", res);

	return 0;

}

